package com.example.java_second_hand_market;

public  class User {
    private String name;
    private String account;
    private String password;
    private Boolean isban;

    public User() {        //空构造函数
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public User(String name, String account, String password) {
        this.name = name;
        this.account = account;
        this.password = password;
        isban=false;
    }

    public Boolean getIsban() {
        return isban;
    }

    public void setIsban(Boolean isban) {
        this.isban = isban;
    }
}
